package net.hn.hnms.biz.plan.vo;


import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("重点工作计划执行vo")
public class ExecutionPriorityWorkVo extends BaseVO {

    private String priorityExecutionId;

    @ApiModelProperty(value = "计划id")
    private String planWorkId;

    @ApiModelProperty(value = "计划名称")
    private String planWorkName;


    @ApiModelProperty(value = "执行日期")
    @ExcelProperty(value = "日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "Asia/Shanghai"
    )
    @DateTimeFormat( pattern = "yyyy-MM-dd")
    private Date executionDate;

    @ApiModelProperty(value = "执行人")
    private String executorUserName;

    @ApiModelProperty(value = "执行任务描述")
    private String describe;

    @ApiModelProperty(value = "执行任务进度")
    private Double executionProgress;

    @ApiModelProperty(value = "问题及原因")
    private String reason;

    @ApiModelProperty(value = "纠正措施")
    private String correctiveAction;

    @ApiModelProperty(value = "工作质量")
    private String workQuality;


    @ApiModelProperty(value = "创建用户ID")
    private String createUserId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新用户ID")
    private String updateUserId;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "删除标记")
    private String delFlag;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "公司代码")
    private String companyCode;

    @ApiModelProperty(value = "矿山代码")
    private String mineCode;

    @ApiModelProperty(value = "备注")
    private String remark;

}
